package com.itheima.admin.service;

import com.itheima.PageVo;
import com.itheima.admin.dto.DeptDto;
import com.itheima.admin.dto.UserRoleDto;
import com.itheima.admin.pojo.Dept;
import com.itheima.admin.vo.DeptPageVo;

import java.util.List;

public interface IDeptService {
    PageVo<DeptPageVo> queryByPage(DeptDto deptDto);

    List<Dept> selectAll();

    boolean insertDept(Dept dept);

    boolean deleteDeptById(String id);

    Dept selectDeptById(int id);

    boolean updateDept(Dept dept);
}
